package cn.jeefast.common.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author theodo
 * @since 2019-12-30
 */
@TableName("mb_research_step_data_template_objective_indicators")
public class MbResearchStepDataTemplateObjectiveIndicators extends Model<MbResearchStepDataTemplateObjectiveIndicators> {

    private static final long serialVersionUID = 1L;

	@TableId(value="oi_id", type= IdType.AUTO)
	private Long oiId;
    /**
     * 1：图片
     */
	@TableField("oi_type")
	private Integer oiType;
    /**
     * 0:非必填  1：必填
     */
	@TableField("oi_must")
	private Integer oiMust;
    /**
     * 0：不显示 1：显示
     */
	@TableField("oi_show")
	private Integer oiShow;

	/**
	 * 模板ID
	 */
	@TableField("temp_id")
	private Long tempId;


	public Long getOiId() {
		return oiId;
	}

	public void setOiId(Long oiId) {
		this.oiId = oiId;
	}

	public Integer getOiType() {
		return oiType;
	}

	public void setOiType(Integer oiType) {
		this.oiType = oiType;
	}

	public Integer getOiMust() {
		return oiMust;
	}

	public void setOiMust(Integer oiMust) {
		this.oiMust = oiMust;
	}

	public Integer getOiShow() {
		return oiShow;
	}

	public void setOiShow(Integer oiShow) {
		this.oiShow = oiShow;
	}

	public Long getTempId() {
		return tempId;
	}

	public void setTempId(Long tempId) {
		this.tempId = tempId;
	}

	@Override
	protected Serializable pkVal() {
		return this.oiId;
	}

	@Override
	public String toString() {
		return "MbResearchStepDataTemplateObjectiveIndicators{" +
			", oiId=" + oiId +
			", oiType=" + oiType +
			", oiMust=" + oiMust +
			", oiShow=" + oiShow +
			"}";
	}
}
